package com.atguigu.gulimall.product.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import com.atguigu.gulimall.product.to.SeckillSkuRedisTo;
import lombok.Data;

import java.util.List;

@Data
public class SkuItemVo {

    /**
     * sku的基本信息获取
     **/
    private SkuInfoEntity info;
    /**
     * 是否有库存
     **/
    private Boolean hasStock = true;
    /**
     * sku的图片信息
     **/
    private List<SkuImagesEntity> images;
    /**
     * 获取spu的销售㤚组合
     **/
    private List<SkuItemSaleAttrVo> saleAttr;
    /**
     * 获取spu的介绍
     **/
    private SpuInfoDescEntity desp;
    /**
     * 获取spu的规格参数信息
     **/
    private List<SpuItemAttrGroupVo> groupAttrs;

    //6、秒杀商品的优惠信息
    private SeckillSkuVo seckillSkuVo;
}